using System;
using System.Collections.Generic;
using System.Text;

namespace SessionReportGenerator
{
    /// <summary>
    /// Thrown when the speed interval is incorrect, or specified speeds are outside the speed interval.
    /// </summary>
    public class IncorrectSpeedIntervalException: ApplicationException
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="IncorrectSpeedIntervalException"/> class.
        /// </summary>
        public IncorrectSpeedIntervalException()
            : base()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="IncorrectSpeedIntervalException"/> class.
        /// </summary>
        /// <param name="errorMessage">The error message.</param>
        public IncorrectSpeedIntervalException(string errorMessage)
            : base(errorMessage)
        {
        }
    }
}
